package com.dominator.utils.lottery;

import com.dominFramework.core.typewrap.Dto;
import com.dominFramework.core.utils.JsonUtils;
import com.dominator.enums.ReqEnums;
import com.dominator.utils.api.ApiMessageUtil;
import com.dominator.utils.api.ApiUtils;
import com.dominator.utils.exception.ApiException;
import com.dominator.utils.network.HttpClientUtils;
import com.dominator.utils.system.PropertiesLoader;

import java.io.IOException;

public class WzlUtils {

    public static PropertiesLoader propertiesLoader = new PropertiesLoader("sysconfig.properties");



    /**
     * 组装消息体
     * @return
     */
    public static String createMessageBody(){




        return null;
    }


    /**
     * 回收未使用的票
     * @return
     */
    public static void recoveryQrTicket() throws IOException {

       String  res=HttpClientUtils.get(propertiesLoader.getProperty("wzl_qrcode_query")+"?code=252401adad881bc354a249d511655f5b");

        System.out.println(res);
    }


    public static void main(String[] args) throws IOException {
        WzlUtils.recoveryQrTicket();
    }



}
